<template>
  <div class="m-page-home content-wrap">
    <div class="g-absolute-center">
   <img src="@/assets/images/home/home-img.png" alt="">
    <p class="title g-font-bold"> Welcome to ERP </p>
    <p class="sub-title">ERP 管理后台应用系统 </p>
    <div class="quick-start">
      <hr/>
      <span>快速访问</span>
      <hr/>
    </div>
    <el-row class="quick-start-list">
      <el-button round v-for="item in list" :key="item.value"
        @click="$router.push(item.value)"
      >{{ item.label }}</el-button>
     </el-row>
    </div>

  </div>
</template>

<script>

export default {
  components: {},
  data() {
    return {
          list: [ // 快速打开列表
            {
              value: '/order/list',
              label: '订单列表'
            },
            {
              value: '/order/auditList',
              label: '审核列表'
            },
            {
              value: '/product/list',
              label: '商品列表'
            },
            {
              value: '/ucenter/user',
              label: '用户管理'
            }
          ]
    }
  },
  computed: {
  },
  created() {

  },
  mounted() {
  }
}
</script>
<style lang="less" scoped>
.m-page-home{
  width: 100%;
  height: 100%;
  position: relative;
  text-align: center;
  .g-absolute-center{
    width: 400px;
    height: 400px;
  }
  .img{
    width: 160px;
  }
  .title{
    font-size: 40px;
    line-height: 40px;
    color: #343A40;
  }
  .sub-title{
    margin-top: 16px;
    font-size: 20px;
    line-height: 32px;
    color: #75788D;
  }
  .quick-start{
    margin-top: 24px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #75788D;
    display: flex;
    align-items: center;
    justify-content: space-between;
    hr{
      flex: 1;
      border:none;
      border-top: 1px solid #E7EAED;
      opacity: 0.5;
    }
    span{
      margin: 0 16px;
    }
  }
  /deep/.quick-start-list{
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    .el-button{
      margin: 0;
      width: 88px;
      padding: 0;
      font-weight: normal;
    }
  }
}
</style>
